package com.jp.vn.main;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class MainActivity extends BaseActivity {
	
	ImageView btnMenu;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		btnMenu = (ImageView) findViewById(R.id.btnMenu);
		
		btnMenu.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent menu = new Intent(getApplicationContext(),MenuActivity.class);
				startActivity(menu);
				overridePendingTransition(R.anim.right_in, R.anim.left_out);
			}
		});
	}
	
	@Override
	public void onBackPressed() {
		super.onBackPressed();
		finish();
	}
}
